package com.ynet.middleground.riskmanage.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 全球捷运客户数据分析记录
 * </p>
 *
 * @author songyf
 * @since 2021-10-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("rm_worldex_customer_analytics")
public class WorldexCustomerAnalytics extends Model<WorldexCustomerAnalytics> {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 当前下游客户数量
     */
    private String numOfdownstreamCust;

    /**
     * 客户数量较年初新增
     */
    private String numAddedOfCustCfBoy;

    /**
     * 客户数量较上季度新增
     */
    private String numAddedOfCustCfPq;

    /**
     * 客户数量较上月新增
     */
    private String numAddedOfCustCfPm;

    /**
     * 订舱量年度累计
     */
    private String pymatOfBookings;

    /**
     * 订舱量较上季度新增
     */
    private String numAddedOfBookingsCfPq;

    /**
     * 订舱量较上月新增
     */
    private String numAddedOfBookingsCfPm;

    /**
     * 订舱量较上年同期增长
     */
    private String numAddedOfBookingsCfPy;

    /**
     * 付款日前完成付款比例
     */
    private String percentageOfBefPaymentDate;

    /**
     * 超过付款日后一个月付款比例
     */
    private String percentageOmOfAfterPaymentDate;

    /**
     * 超过付款日一到两个月付款比例
     */
    private String percentageOttmOfAfterPaymentDate;

    /**
     * 超过付款日后两到六个月付款比例
     */
    private String percentageTtsmOfAfterPaymentDate;

    /**
     * 超过付款日六个月付款比例
     */
    private String percentageSmOfAfterPaymentDate;

    /**
     * 渠道标识
     */
    private String channel;

    /**
     * 创建时间
     */
    private LocalDateTime gmtCreate;

    /**
     * 创建人
     */
    private Integer createBy;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
